package com.liyghting.mutildb;

import org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import lombok.extern.slf4j.Slf4j;

/**
 * 多个数据源启动类
 * 
 * @author LiYiGuang
 * @date 2018/9/26 9:48
 */
@Slf4j
@EnableTransactionManagement
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, MybatisAutoConfiguration.class })
public class MultiDbApp {
	public static void main(String[] args) {
		SpringApplication.run(MultiDbApp.class, args);
	}

}
